package scala.Implicit.Conversion

object ImplicitConversion {
   implicit def DoubleToComplex(d: Double): Complex = {
      new Complex(d, 0.0)
   }

   implicit def TuppleToComplex(value: Tuple2[Double, Double]): Complex = {
      new Complex(value._1, value._2)
   }
}